const timerUtil = {}

timerUtil.getTimer = (callBack, milliSecond) => {
    return setInterval(callBack, milliSecond)
}

timerUtil.clearTimer = timer =>{
    clearInterval(timer)
}


export default timerUtil